home *** CD-ROM | disk | FTP | other *** search
/ Clickx 115 / Clickx 115.iso / software / tools / windows / tails-i386-0.16.iso / live / filesystem.squashfs / etc / bash_completion.d / larch < prev    next >
Encoding:
Text File  |  2010-11-16  |  2.0 KB  |  49 lines

  1. # larch(1) completion by Alex Shinn <foof@synthcode.com>
  2.  
  3. have larch &&
  4. _larch()
  5. {
  6.     local cur prev
  7.  
  8.     COMPREPLY=()
  9.     _get_comp_words_by_ref cur prev
  10.  
  11.     if [[ $COMP_CWORD -eq 1 || "$prev" == -* ]]; then
  12.         COMPREPLY=( $( compgen -W ' \
  13.             my-id my-default-archive register-archive whereis-archive archives \
  14.             init-tree tree-root tree-version set-tree-version inventory \
  15.             tagging-method tree-lint missing-tags add delete \
  16.             move explicit-default set-manifest manifest check-manifest mkpatch \
  17.             dopatch patch-report empty-patch make-archive make-category \
  18.             make-branch make-version categories branches versions revisions \
  19.             cat-archive-log archive-cache-revision archive-cached-revisions \
  20.             archive-uncache-revision category-readme branch-readme \
  21.             version-readme make-log logs add-log log-ls cat-log \
  22.             log-header-field changelog log-for-merge merge-points \
  23.             new-on-branch import commit get get-patch lock-branch \
  24.             lock-revision push-mirror build-config update-config replay-config \
  25.             record-config show-config config-history update replay delta-patch \
  26.             star-merge tag prepare-branch finish-branch join-branch \
  27.             whats-missing what-changed file-diffs pristines lock-pristine \
  28.             my-revision-library library-find library-add library-remove \
  29.             library-archives library-categories library-branches \
  30.             library-versions library-revisions library-log library-file \
  31.             touched-files-prereqs patch-set-web update-distributions \
  32.             distribution-name notify my-notifier mail-new-categories \
  33.             mail-new-branches mail-new-versions mail-new-revisions \
  34.             notify-library notify-browser push-new-revisions sendmail-mailx' \
  35.             "$cur" ))
  36.     fi
  37.  
  38.     return 0
  39. } &&
  40. complete -F _larch -o default larch
  41.  
  42. # Local variables:
  43. # mode: shell-script
  44. # sh-basic-offset: 4
  45. # sh-indent-comment: t
  46. # indent-tabs-mode: nil
  47. # End:
  48. # ex: ts=4 sw=4 et filetype=sh
  49.